﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace UIT.ScrumTool.DTO
{
    /// <summary>
    /// Autor Do Trung Vinh
    /// Doi tuong User duoc dinh nghia de truyen di
    /// </summary>
    #region Thuoc Tinh User
    [DataContract]
    public class UserDto
    {
        //thuoc tinh id, thu tu cua bang user
        private int id;
        [DataMember]
        public int Id
        {
            get { return id; }
            set { id = value; }
        }

        //thuoc tinh loginName chi ten dung de dang nhap vao he thong
        private string loginName;
        [DataMember]
        public string LoginName
        {
            get { return loginName; }
            set
            {               
                loginName = value;
            }
        }
        
        //thuoc tinh password dung de chi mat khau dang nhap vao he thong
        private string password;
        [DataMember]
        public string Password
        {
            get { return password; }
            set { password = value; }
        }

        //thuoc tinh firstName dung de chi ho cua nguoi dung
        private string fistName;
        [DataMember]
        public string FistName
        {
            get { return fistName; }
            set { fistName = value; }
        }

        //thuoc tinh lastName dung de chi ten cua nguoi dung
        private string lastName;
        [DataMember]
        public string LastName
        {
            get { return lastName; }
            set { lastName = value; }
        }

        //thuoc tinh email dung de chi email cua nguoi dung
        private string email;
        [DataMember]
        public  string Email
        {
            get { return email; }
            set { email = value; }
        }

        //thuoc tinh IMType dung de chi loai Lien lacj
        private string imType;
        [DataMember]
        public string  IMType
        {
            get { return imType; }
            set { imType = value; }
        }

        //thuoc tinh IM dung de ten nick dung de lien lac
        private string im;
        [DataMember]
        public string IM
        {
            get { return im; }
            set { im = value; }
        }

        //thuoc tinh picture luu anh cua
        private byte[] picture;
        [DataMember]
        public byte[] Picture
        {
            get { return picture; }
            set { picture = value; }
        }

        //thuoc tinh companuPostion chi vi tri o cong ty
        private string companyPostion;
        [DataMember]
        public string CompanyPostion
        {
            get { return companyPostion; }
            set { companyPostion = value; }
        }

        //thuoc tinh profile chi ho so cua nhan vien
        private string profile;
        [DataMember]
        public string Profile
        {
            get { return profile; }
            set { profile = value; }
        }
        
    }
    #endregion 
}
